home *** CD-ROM | disk | FTP | other *** search
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ; ASCII Mode for Atlantis v1.0 [Add-On]
- ; Written by Jolly Roger
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ; Please modify it so it suits your needs. - It's quite simple..
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- string CommandToExecute
-
- BEGIN
- :Start
- COLOR 7
- GETUSER
- IF (U_EXPERT = FALSE) THEN 'Display menu to all users
- CLS 'with Expert Mode turned OFF
- DISPFILE PPEPath() + "ASCII.MNU", 0
- END IF
- PRINTLN "┌──[Conference: @CONFNAME@─ - -"
- PRINT "└───[Minutes Left: @MINLEFT@ ]─[COMMAND: "
- :Input
- INPUTSTR "_", CommandToExecute, "@X0F", 65, MASK_ASCII(), DEFS+STACKED
- TOKENIZE CommandToExecute
- IF (CommandToExecute = "") THEN
- IF (U_EXPERT = FALSE) GOTO Input
- END IF
- NEWLINE
- COMMAND TRUE, CommandToExecute
- GETUSER 'The user could have changed the expert mode setting.
- IF (U_EXPERT = FALSE) THEN
- NEWLINE
- WAIT 'Else the menu would be displayed before
- 'the user could see what happened
- END IF
- NEWLINE
- CommandToExecute = "" 'So that if the user presses Enter the same command
- 'as before is gone..
- GOTO Start
- END
-